import {http} from '@zkwq/business'

export const ListVideoAudio = (params) => http.post('/yundianApi/videoAudio/v1/list',params);
export const GetVideoAudio = (id) => http.get('/yundianApi/videoAudio/v1/getOne/'+id,null);
// export const GetVideoAudioAgg = (type,magazine, query, speaker, organizer, category, tag) => http.get('/yundianApi/videoAudio/v1/getVideoAudioAggV2',{type:type,magazine:magazine,query:query,speaker:speaker,organizer:organizer,category:category,tag:tag});  
export const GetVideoAudioAgg = (type,magazine, query, speaker, organizer, category, tag) => http.get('/yundianApi/web/resource/getResourceAggV2',{type:type,magazine:magazine,query:query,speaker:speaker,organizer:organizer,category:category,tag:tag});  

export const DownloadMinioBase64 = (objectName) => http.post('/yundianApi/videoAudio/v1/downloadMinioBase64',{objectName:objectName});
